Skip to main content
Version: Staging

NMSCircuitBreaker

V8 Message Definiton

This table contains circuit breaker information for market centers with circuit breakers. Note that circuit breaker records may not always exist for a market center.

METADATA

AttributeValue
Topic4440-product-status
MLink TokenSystemData
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
marketCenterVARCHAR(6)PRI''
level1FLOAT0level 1 threshold
level2FLOAT0level 2 threshold
level3FLOAT0level 3 threshold
currentLevelINT0current market circuit breaker level 0 3
timestampDATETIME(6)'1900-01-01 00:00:00.000000'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
marketCenter1

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgNMSCircuitBreaker` (
`marketCenter` VARCHAR(6) NOT NULL DEFAULT '',
`level1` FLOAT NOT NULL DEFAULT 0 COMMENT 'level 1 threshold',
`level2` FLOAT NOT NULL DEFAULT 0 COMMENT 'level 2 threshold',
`level3` FLOAT NOT NULL DEFAULT 0 COMMENT 'level 3 threshold',
`currentLevel` INT NOT NULL DEFAULT 0 COMMENT 'current market circuit breaker level (0 - 3)',
`timestamp` DATETIME(6) NOT NULL DEFAULT '1900-01-01 00:00:00.000000',
PRIMARY KEY USING HASH (`marketCenter`)
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='This table contains circuit breaker information for market centers with circuit breakers. Note that circuit breaker records may not always exist for a market center.';

SELECT TABLE EXAMPLE QUERY

SELECT
`marketCenter`,
`level1`,
`level2`,
`level3`,
`currentLevel`,
`timestamp`
FROM `SRLive`.`MsgNMSCircuitBreaker`
WHERE
/* Replace with a VARCHAR(6) */
`marketCenter` = 'Example_marketCenter';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='NMSCircuitBreaker' ORDER BY ordinal_position ASC;